cmake_minimum_required(VERSION 3.0)

project(PEASANTANDPESTICIDE)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O2 -Wall")

include_directories(${CMAKE_SOURCE_DIR}/include)


set(CMAKE_BUILD_TYPE Debug)
file(GLOB SRC_FILES    
    "${PROJECT_SOURCE_DIR}/src/*.cpp"
)

find_package(Threads REQUIRED)
add_executable(cmakeTest main.cpp ${SRC_FILES})

target_link_libraries(cmakeTest Threads::Threads)
